Understanding Entity Models
Entity Diagrams simplify chatbot authoring by providing a graphical representation of Enterprise Data Models. DRUID offers industry-specific predefined templates, empowering users to design rich Data Models comprising hundreds of entities and fields. The Entity Diagram visualizes all business object relations within a chatbot solution, offering a familiar and intuitive interface that streamlines entity configurations. This enhances platform versatility and simplifies deployments, even for the most complex use-cases.
In diagram view mode, the Entity Diagram offers insights into the entity models included in solution templates. This visualization aids in understanding the building blocks necessary for designing, building, testing, and deploying AI-powered chatbots.
The Entity Diagram layout is the following:
- Primary entities (nodes) are positioned in the center.
- Referenced entities are displayed on the right side.
- Entities referencing primary entities are shown on the left side.
The table below lists the diagram visual elements.
Element |
Description |
---|---|
|
Node (entity) |
|
Indicates a relationship between two entities. |
|
Indicates entity references another entity (that is, the entity has field of type Entity referencing another entity). |
|
Indicates entity references an entity storing a collection of records. (that is, the entity has field of type Entity List referencing another entity). |
|
Available for tree view only! Indicates an entity referencing other entities. To view the referenced entities, click this icon. |
|
Available for tree view only! Indicates recursion to the primary node (primary entity). |
The tree view lists all solution entities, with the primary entity displayed at the top. Users can observe entity memory slots as they appear in the chatbot.
Using the Entity Designer in tree view side-by-side with flows or integrations configuration increases bot authors productivity as you can copy to clipboard the entity and entity fields label (etiquette) and paste it in the desired flows and integration (in messages, input mapping or fields mapping).
The label has the following format: [[Entity]] for entities, [[ Entity]].<Field> for fields and [[Entity]].<Field of type entity list>[*] for collections. When using the label in integrations or on flows, replace the * with an index.
The Entity Designer (diagram / tree view) provides insights into entity usage, including:
- Number of fields within the entity.
- Number of flows and integrations utilizing the entity.
- Whether the entity is trained for Natural Language Processing (NLP).
You can view detailed entity information by clicking on it.
Users can edit existing fields by selecting the desired field from the Fields section and making necessary changes in the right-side editor. The Entity Designer facilitates navigation to specific flows or integrations where the selected entity is utilized, enhancing efficiency.
The Entity Designer enables you to easily navigate to a specific flow or integration where the selected entity is utilized. Simply click on either the Flows or Integrations section, and then click on the "go to" link icon (). This functionality streamlines the process of locating and accessing relevant flows and integrations associated with the selected entity.